package db;

import java.util.Scanner;

public class lianxi2 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入用户名");
        String username = input.next();
        System.out.println("请输入密码");
        String password = input.next();
        if(username.equals("admin")&&password.equals("admin")){
            System.out.println("1.查看余额");
            System.out.println("2.取款");
        }else{
            System.out.printf("输入错误,卡片已锁定");
        }
    }
}
